package top.codedance.iotp.iot.sdk.entity;

import java.util.Map;

public class StompMessage {
    private String command;
    private Map<String, String> headers;
    private String body;

    public StompMessage(){

    }

    public StompMessage(String command) {
        this.command = command;
    }

    public StompMessage(String command, Map<String, String> headers) {
        this.command = command;
        this.headers = headers;
    }

    public StompMessage(String command, Map<String, String> headers, String body) {
        this.command = command;
        this.headers = headers;
        this.body = body;
    }

    public String getCommand() {
        return command;
    }

    public void setCommand(String command) {
        this.command = command;
    }

    public Map<String, String> getHeaders() {
        return headers;
    }

    public void setHeaders(Map<String, String> headers) {
        this.headers = headers;
    }

    public String getBody() {
        return body;
    }

    public void setBody(String body) {
        this.body = body;
    }
}
